home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ian & Stuart's Australian Mac 1993 September
/
September 93.iso
/
Archives
/
Utilities
/
System
/
FKey
/
FKeys
/
KillEMFKEY
/
About KillEM FKEY
next >
Wrap
Text File
|
1993-03-27
|
2KB
|
39 lines
KillEM FKEY
by David Fry
The Express Modem software from Apple conveniently turns on the modem
automatically whenever you try to use it. Unfortunately, it remains on
afterwards, and you have to use the Express Modem control panel device to turn
it off. That's too tedious for my tastes, so I wrote this FKEY hack to turn it
off for you at the push of a button. The FKEY has ID=4 as I wrote it, but you
can change that in the usual ways.
The Express Modem software runs in the background as a faceless application
(which you can see using one of the "process watchers" out there, such as Task-
It). All this FKEY does is look for a process of type 'cdev' with creator
'3615', which is what the Express Modem software uses on my machine, and sends
it a 'quit' Apple Event. If it can't find such a process, it beeps once.
Why turn off the Express Modem software? It uses a good deal of processor time
just sitting there, and that means less time between battery charges. However,
your PowerBook won't answer the phone if you kill the background application, so
be sure you really want to use this FKEY. If you want the modem to answer the
phone later, use the Express Modem control panel to turn it on.
WARNING: I've tested this on my PB180, and it seems okay. My methodology for
turning the modem off is just a guess, and may have some problem I don't know
about. I also don't know if it will work with the PowerBook Duo Express Modem
software because that may not use creator '3615'. Also, I'm not responsible for
what may happen if you use the FKEY while the modem is in use, for instance,
while you're receiving a fax.
Good luck and let me know if you have problems.
David Fry fry@math.harvard.edu
Division of Applied Sciences fry@huma1.bitnet
Harvard University ...!harvard!huma1!fry
Cambridge, MA 02138